package org.ontoexplorer.ui.panel;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;

import org.flexdock.docking.Dockable;
import org.flexdock.docking.DockingManager;
import org.flexdock.docking.DockingPort;
import org.flexdock.docking.defaults.DefaultDockingPort;

import test.freeconnect.FreeConnectTest;

public class ExplorerPanel extends JPanel{
	
	
	
	public ExplorerPanel() {

		JMenuBar menuBar = new JMenuBar();
		
		JMenu windowMenu = new JMenu("Window");
		JMenu helpMenu = new JMenu("Help");
		
		JMenu showViewMenu = new JMenu("Show View");

		
		JMenu perspectiveMenu = new JMenu("Perspective Open");

						
		windowMenu.add(showViewMenu);
		windowMenu.add(perspectiveMenu);		
		
		menuBar.add(windowMenu);
		menuBar.add(helpMenu);
		
		setLayout(new BorderLayout());
		
		add(menuBar, BorderLayout.NORTH);
		
		JTabbedPane tabbedPane = new JTabbedPane();
		tabbedPane.addTab("Onto1", new FreeConnectTest());
		
		add(tabbedPane, BorderLayout.CENTER);
		
	}	
	
}
